package org.jeecg.modules.demo.hydrology.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.demo.hydrology.dto.CgkyjDto;
import org.jeecg.modules.demo.hydrology.entity.Cgkyj;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 长观孔预警
 * @Author: jeecg-boot
 * @Date:   2024-04-22
 * @Version: V1.0
 */
public interface ICgkyjService extends IService<Cgkyj> {
    /**
     * 长观孔预警-分页列表查询
     * @param page
     * @param queryWrapper
     * @return
     */
    IPage<CgkyjDto> getList(Page<Cgkyj> page, QueryWrapper<Cgkyj> queryWrapper);

    /**
     * 修改告警状态
     * @param id
     * @param alarmStatus
     */
    void updateStatus(String id, String alarmStatus);
}
